#include <QtGui>
#include "window.h"

Window::Window()
{
    QGridLayout *mainLayout = new QGridLayout;

    for (int i = 0; i < NumRows; ++i) {
        for (int j = 0; j < NumColumns; ++j) {
            glWidgets[i][j] = new GLWidget(0, 0);
            mainLayout->addWidget(glWidgets[i][j], i, j);
        }
    }
    setLayout(mainLayout);

    setWindowTitle(tr("SCT Player"));
}
